package cn.hongwei.mall.wms.api;

import cn.hongwei.mall.common.bean.ResponseVo;
import cn.hongwei.mall.wms.entity.WareSkuEntity;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author Great
 * @email 1224028994@qq.com
 */
public interface MallWmsApi {
    @ApiOperation("根据skuId查询库存信息")
    @GetMapping("wms/waresku/sku/{skuId}")
    ResponseVo<List<WareSkuEntity>> queryBySkuId(@PathVariable("skuId") Long skuId);
}
